<template>
	<view>
		<!-- 提交成功页面 -->
		<view class="u-rela">
			<view class="u-abso bg" style="height: 500rpx;"></view>
			<view class="u-rela wrap">
				<view class="tips">
					<u-icon name="checkmark-circle-fill" color="#fff" size="100"></u-icon>
					<view>委托成功，稍后会有金牌管家联系您！</view>
				</view>
				
				<view class="gold-card">
					<gold-card :data="data"></gold-card>
				</view>
				
				<view class="btn-box">
					<u-button shape="circle" type="primary" @click="goHome">返回首页</u-button>
				</view>
			</view>	
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data:''
			}
		},
		methods: {
			goHome(){
				this.jump('/pages/index/index',!0)
			}
		},
		onLoad({data}) {
			this.data = JSON.parse(decodeURIComponent(data))
		}
	}
</script>

<style lang="scss">
	.bg{width: 100%;background-color: $tc;border-radius: 0 0 50rpx 50rpx;}
	.wrap{
		.tips{color: #fff;text-align: center;font-size: 32rpx;font-weight: bold;padding-top: 20rpx;
			view{padding-top: 20rpx;}
		}
	}
	
	.gold-card{margin-top: 120rpx;}
	
	.btn-box{margin-top: 200rpx;padding: 0 40rpx;}
</style>
